<?
include("../../.setup.php");

$h = opendir(".");
$class_names = array();
while($file = readdir($h)){
	if(is_dir($file)) continue;
	if($file==basename(__FILE__)) continue;
	if($file=="abstract.class.php") continue;
	$class_names[] = "tbl_".substr($file, 0,strpos($file,"."));
}

foreach($class_names as $one){
	echo "<h4>$one</h4>";
	$obj = new $one();
	$obj->dbupdate();
	
}
?>